package com.lanou.entity;

public class Commodity {
    private  long id;
    private Integer amount;//数量
    private String img;//照片
    private String title;//标题
    private Long price;//价钱
    private Integer status;//状态  0 为 未选  , 1 为全选

    @Override
    public String toString() {
        return "Commodity{" +
                "id=" + id +
                ", amount=" + amount +
                ", img='" + img + '\'' +
                ", title='" + title + '\'' +
                ", price=" + price +
                ", status=" + status +
                '}';
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }
}
